package task;

import java.util.Scanner;

public class Run {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("请输入整数A：");
        double a=(double)in.nextInt();
        System.out.println("请输入整数B：");
        double b=(double)in.nextInt();
        System.out.println("运算符号：");
        String operate=in.next();
        double result=Calculator.getResult(a,b,operate);
        System.out.println(result);
    }
}
